package sm.upgrade.api;

import java.util.List;

import sm.upgrade.util.UpgradeResult;
import sm.util.SMMap;

public interface DataUpgradeInterceptor {

	public void beforeSave(String entityName, SMMap data);

	public void addResult(String fileName, Object[] keyValues,
			UpgradeResult result);

	public void addData(String entityName, SMMap upgradeData);

	public void updateData(String entityName, SMMap customerData,
			SMMap upgradeData);

	public void updateDatas(String entityName, List<SMMap> customerDatas,
			List<SMMap> upgradeDatas);

	public void flush(String entityName);
}
